package xiaodou.modules.importantFans
{
	import xiaodou.core.WeiboData.GlobalWeiboDataModel;
	import xiaodou.services.APIConfig;
	import xiaodou.services.HttpRequest;
	
	public class ImportanFansService
	{
		public function ImportanFansService()
		{
		}
		
		public function init(weiboId:String):void
		{
			new HttpRequest(initComplete).request(APIConfig.createInitImportantFansUrl(weiboId));
		}
		
		private function initComplete(result:Object):void
		{
			GlobalWeiboDataModel.importantFansModel.addFans(result.data);
		}
	}
}